home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Examples
/
Setups
/
Using Setups for Channel Access
< prev
next >
Wrap
Text File
|
1998-10-26
|
1KB
|
55 lines
; Using setups to access synths channels in 1..16 range
(def-setup
k2000 0 ; MIDI port 0 Ch. 1-16 (modem port)
k2000i 1 ; MIDI port 1 Ch. 1-16 (printer port)
k2000ii 2 ; MIDI port 2 Ch. 1-16
super-soundcanvas (3 4) ; MIDI port 3 and 4 Ch. 1-32
)
; Above lets you now use channels like
;
; k2000-1, k2000-2 ... k2000-16
; k2000i-1, k2000i-2 ... k2000i-16
; k2000ii-1, k2000ii-2 ... k2000ii-16
; super-soundcanvas-1, super-soundcanvas-2 ... super-soundcanvas-32
; Using setup channels in def-channel
(def-channel
piano1 k2000-1
piano2 k2000i-1
)
; Using setup channels in def-section
(def-orchestra 'orchestra
all-instruments (piano synth bass)
)
(def-section sect-a
default
zone '(1/16)
tonality (activate-tonality (major c 4))
length '(1/16)
velocity '(64)
symbol '(a b c)
piano
channel k2000-1
program (k2000 dual-elec-piano)
synth
channel k2000i-1
program (k2000 new-prophet)
bass
channel k2000ii-1
program (k2000 big-jupiter)
)
(def-tempo 120)
(midiport :printer)
(play-file-p "test2"
all-instruments '(sect-a)
)